import React from 'react';
import { BrowserRouter, Route, Switch } from 'react-router-dom';

import User from './pages/user';
import Home from './pages/home';
import FP from './pages/fp';

const App = () => {
    return (
        <BrowserRouter>
            <Switch>
                <Route path="/" exact component={Home} />
                <Route path="/user" component={User} />
                <Route path="/fp" component={FP} />
            </Switch>
        </BrowserRouter>
    );
};

export default App;
